/**
 * @author: qwesde@hust.edu.cn
 * @date: 2021/2/9 11:56
 */

const TokenKey = "loginToken"

export function getToken() {
    return localStorage.getItem(TokenKey)
}

export function setToken(token) {
    localStorage.setItem(TokenKey, token)
}

export function removeToken() {
    localStorage.removeItem(TokenKey)
}